package com.mcarrot.site.dao;

import java.util.List;

import com.mcarrot.site.common.Constants;
import com.mcarrot.site.model.Affair;
import com.mcarrot.site.model.User;

public interface UserDAO extends Constants{
	Integer saveOrUpdate(User user);
	Integer del(User user);
	User findById(Integer userId);
	List<User> list();
	List<User> listByCondition(User user);
}
